package com.xvyy.tingshu.album.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * ClassName: FileUploadService
 * Package: com.xvyy.tingshu.album.service
 *
 * @Description:
 * @Author: xvyy
 * @Create: 2025/1/14 - 18:26
 * @Version: v1.0
 */
public interface FileUploadService {

    /**
     * 文件上传接口
     * @param file
     * @return
     */
    String fileUpload(MultipartFile file);

    /**
     * 上传音频文件接口
     * @param file
     * @return
     */
    Map<String, Object> uploadTrack(MultipartFile file);
}
